package com.cyl.manager.aws.convert;

import com.cyl.manager.aws.domain.entity.SystemStatistics;
import com.cyl.manager.aws.domain.vo.SystemStatisticsVO;
import org.mapstruct.Mapper;
import org.mapstruct.MappingConstants;
import org.mapstruct.ReportingPolicy;

import java.util.List;

/**
 * 系统数据统计  DO <=> DTO <=> VO / BO / Query
 *
 * @author zcc
 */
@Mapper(unmappedTargetPolicy = ReportingPolicy.IGNORE, componentModel = MappingConstants.ComponentModel.SPRING)
public interface SystemStatisticsConvert {

    List<SystemStatisticsVO> dos2vos(List<SystemStatistics> list);
}
